<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AlloyTeam 腾讯全端</title>
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
    <link rel="stylesheet" href="./Bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="./Bootstrap/font/bootstrap-icons.css">
    <link rel="stylesheet" href="./css/index.css">
</head>

<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-expand-lg bg-body-tertiary fixed-top">
        <div class="container">
            <a class="navbar-brand" href="#"><img src="./assets/images/logo.png" alt=""></a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavAltMarkup"
                aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNavAltMarkup">
                <div class="navbar-nav">
                    <a class="nav-link" href="#" style="color: #F2B535;">首页</a>
                    <a class="nav-link" href="#">博客</a>
                    <a class="nav-link" href="#">GitHub</a>
                    <a class="nav-link" href="#" style="color: #F2B535;"><span class="bi-fire"></span>TWeb Conf</a>
                    <a class="nav-link" href="#">SuperStar</a>
                    <a class="nav-link" href="#">Web前端导航</a>
                    <a class="nav-link" href="#">关于</a>
                </div>
            </div>
        </div>
    </nav>

    <!-- 轮播图 -->
    <div id="carouselExampleIndicators" class="carousel slide">
        <div class="carousel-indicators">
            <button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0" class="active"
                aria-current="true" aria-label="Slide 1"></button>
            <button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="1"
                aria-label="Slide 2"></button>
            <button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="2"
                aria-label="Slide 3"></button>
            <button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="3"
                aria-label="Slide 4"></button>
        </div>
        <div class="carousel-inner">
            <div class="carousel-item active">
            </div>
            <div class="carousel-item">
            </div>
            <div class="carousel-item">
            </div>
            <div class="carousel-item">
            </div>
        </div>
        <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleIndicators"
            data-bs-slide="prev">
            <span class="carousel-control-prev-icon" aria-hidden="true"></span>
            <span class="visually-hidden">Previous</span>
        </button>
        <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleIndicators"
            data-bs-slide="next">
            <span class="carousel-control-next-icon" aria-hidden="true"></span>
            <span class="visually-hidden">Next</span>
        </button>
        <div class="perch"></div>
    </div>

    <!-- 开源项目 -->
    <div class="project container">
        <!-- 标题 -->
        <div class="title">
            <h2>OpenSource / 开源项目</h2>
            <p>种类众多的开源项目，让你爱不释手</p>
        </div>
        <!-- 内容 -->
        <div class="content">
            <div class="row">
                <div class="col-lg-3 col-md-6"><a href="#">
                        <img src="./assets/images/omi.png" alt="">
                        <h3>OMI</h3>
                        <p>开放现代的Web组件化框架</p>
                    </a></div>
                <div class="col-lg-3 col-md-6"><a href="#">
                        <img src="./assets/images/alloyimage.png" alt="">
                        <h3>AlloyImage</h3>
                        <p>HTML5专业级图像处理引擎</p>
                    </a></div>
                <div class="col-lg-3 col-md-6"><a href="#">
                        <img src="./assets/images/alloytouch.png" alt="">
                        <h3>AlloyTouch</h3>
                        <p>丝般顺滑的触摸运动方案</p>
                    </a></div>
                <div class="col-lg-3 col-md-6"><a href="#">
                        <img src="./assets/images/soda.png" alt="">
                        <h3>Soda</h3>
                        <p>高性能模版引擎</p>
                    </a></div>
            </div>
        </div>
    </div>

    <!-- Product/作品-->
    <div class="project container">
        <!-- 标题 -->
        <div class="title">
            <h2>Product / 作品</h2>
            <p>新奇好玩的作品，让你欲罢不能</p>
        </div>
        <!-- 内容 -->
        <div class="content">
            <div class="row">
                <div class="col-lg-3 col-md-6"><a href="#">
                        <img src="./assets/images/omi.png" alt="">
                        <h3>OMI</h3>
                        <p>开放现代的Web组件化框架</p>
                    </a></div>
                <div class="col-lg-3 col-md-6"><a href="#">
                        <img src="./assets/images/alloyimage.png" alt="">
                        <h3>AlloyImage</h3>
                        <p>HTML5专业级图像处理引擎</p>
                    </a></div>
                <div class="col-lg-3 col-md-6"><a href="#">
                        <img src="./assets/images/alloytouch.png" alt="">
                        <h3>AlloyTouch</h3>
                        <p>丝般顺滑的触摸运动方案</p>
                    </a></div>
                <div class="col-lg-3 col-md-6"><a href="#">
                        <img src="./assets/images/soda.png" alt="">
                        <h3>Soda</h3>
                        <p>高性能模版引擎</p>
                    </a></div>
            </div>
        </div>
    </div>

    <!-- Product/作品-->
    <div class="project container">
        <!-- 标题 -->
        <div class="title">
            <h2>Product / 作品</h2>
            <p>新奇好玩的作品，让你欲罢不能</p>
        </div>
        <!-- 内容 -->
        <div class="content">
            <div class="row">
                <div class="col-lg-3 col-md-6"><a href="#">
                        <img src="./assets/images/omi.png" alt="">
                        <h3>OMI</h3>
                        <p>开放现代的Web组件化框架</p>
                    </a></div>
                <div class="col-lg-3 col-md-6"><a href="#">
                        <img src="./assets/images/alloyimage.png" alt="">
                        <h3>AlloyImage</h3>
                        <p>HTML5专业级图像处理引擎</p>
                    </a></div>
                <div class="col-lg-3 col-md-6"><a href="#">
                        <img src="./assets/images/alloytouch.png" alt="">
                        <h3>AlloyTouch</h3>
                        <p>丝般顺滑的触摸运动方案</p>
                    </a></div>
                <div class="col-lg-3 col-md-6"><a href="#">
                        <img src="./assets/images/soda.png" alt="">
                        <h3>Soda</h3>
                        <p>高性能模版引擎</p>
                    </a></div>
            </div>
        </div>
    </div>

    <script src="./Bootstrap/js/bootstrap.min.js"></script>
    <script>
        document.addEventListener('DOMContentLoaded', function () {
            var navbar = document.getElementsByClassName('navbar')[0];
            var perch = document.getElementsByClassName('perch')[0];

            window.addEventListener('scroll', function () {
                var scrollTop = window.pageYOffset || document.documentElement.scrollTop;
                var perchOffset = perch.offsetTop;

                if (scrollTop >= perchOffset) {
                    navbar.classList.add('navbar-custom');
                } else {
                    navbar.classList.remove('navbar-custom');
                }
            });
        });
    </script>
    </script>
</body>

</html>